package com.itheima.huikebackend.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.UUID;

@Data
@Slf4j
@AllArgsConstructor
public class CaptchaImageVO {
    private Integer code;
    private String img;
    private String msg;
    private String uuid;

    public CaptchaImageVO(){
        log.info("验证码无参构造器启动...");
        this.uuid = UUID.randomUUID().toString();
        log.info("uuid生成：{}",this.uuid);
    }
}